package online.yysh.charging.wxapi;

/**
 * 关联微信登陆获取的数据
 */
public class WXLogin {
    //在该项目中是unionId
    private String openId;
    //在该项目中是openId
    private String oid;
    //微信头像的地址
    private String headImgUrl;
    //昵称
    private String nickName;

    public WXLogin(String openId, String oid, String headImgUrl, String nickName) {
        this.openId = openId;
        this.oid = oid;
        this.headImgUrl = headImgUrl;
        this.nickName = nickName;
    }

    public WXLogin() {
    }

    public String getOpenId() {
        return openId;
    }

    public WXLogin setOpenId(String openId) {
        this.openId = openId;
        return this;
    }

    public String getOid() {
        return oid;
    }

    public WXLogin setOid(String oid) {
        this.oid = oid;
        return this;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public WXLogin setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
        return this;
    }

    public String getNickName() {
        return nickName;
    }

    public WXLogin setNickName(String nickName) {
        this.nickName = nickName;
        return this;
    }
}
